package com.kk.common;

import jakarta.validation.constraints.Min;
import lombok.Data;

/**
 * @author kl
 * @version 1.0
 * @description: 分页请求
 * @date 2025/11/4 下午4:37
 */
@Data
public class PageRequest {

    @Min(value = 1,message = "页码最小为1")
    private Integer pageNum;

    @Min(value = 1,message = "页码数量最小为1")
    private Integer pageSize;

    private String orderBy;

    private String sortOrder = "desc";
}
